<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>这是Spring和thymeleaf的整合</h1>
<form action="/fileUpload" method="post" enctype="multipart/form-data"  >

    <input type="text" id="name" name="name">
    <input type="file" id="file" name="file">

    <button type="submit" value="submit">submit</button>
</form>
</body>
</html>